home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / server / c_chat.c < prev    next >
C/C++ Source or Header  |  1996-07-24  |  457b  |  27 lines

  1. /*
  2.  * Object (handling) commands
  3.  *    ++Jam
  4.  */
  5.  
  6. #include <global.h>
  7. #include <loader.h>
  8. #include <sproto.h>
  9.  
  10. int command_say (object *op, char *params)
  11. {
  12.   char buf[MAX_BUF];
  13.  
  14.   if (!params) return 0;
  15.   sprintf(buf, "%s says: %s",op->name, params);
  16.   new_info_map(NDI_WHITE,op->map, buf);
  17.   communicate(op, params);
  18.   
  19.   return 0;
  20. }
  21.  
  22. int command_last (object *op, char *params)
  23. {
  24.   new_draw_info(NDI_UNIQUE, 0,op, "Last not yet implemented.");
  25.   return 0;
  26. }
  27.